//
//  XKLEessenceItem.h
//  GuiZiShouDuanZi
//
//  Created by xmg on 16/5/4.
//  Copyright © 2016年 xiao_kl. All rights reserved.
//

#import <Foundation/Foundation.h>
@class XKLTopCommetItem;

@interface XKLEessenceItem : NSObject
/**正文*/
@property (nonatomic,strong)NSString *text;
/**踩的人数*/
@property (nonatomic,assign)NSInteger cai;
/**头像URL*/
@property (nonatomic,strong)NSString *profile_image;
/**转发数量*/
@property (nonatomic,assign)NSInteger repost;
/**是否新浪加v*/
@property (nonatomic,assign,getter=isSinaV)BOOL sina_v;
/**用户名*/
@property (nonatomic,strong)NSString *name;
/**评论数*/
@property (nonatomic,assign)NSInteger comment;
/**发帖时间*/
@property (nonatomic,strong)NSString *created_at;
/**赞数*/
@property (nonatomic,assign)NSInteger ding;
/**头像*/
@property (nonatomic,strong)UIImage *iconImage;
/**是否是git*/
@property (nonatomic,assign)BOOL is_gif;
/**图片的高度*/
@property (nonatomic,assign)CGFloat height;
/**图片的宽度*/
@property (nonatomic,assign)CGFloat width;
/**图片URL*/
@property (nonatomic,strong)NSString *image1;
/**帖子类型*/
@property (nonatomic,assign)NSInteger type;
/**播放次数*/
@property (nonatomic,assign)NSInteger playfcount;
/**播放时长*/
@property (nonatomic,assign)NSInteger voicetime;
/**视频时长*/
@property (nonatomic,assign)NSInteger videotime;
/**热评*/
@property (nonatomic,strong)XKLTopCommetItem *top_cmt;
/**id*/
@property (nonatomic,assign)NSInteger ID;

/********** 辅助属性 *************/
/**cell的高度*/
@property (nonatomic,assign,readonly)CGFloat cellHeight;
/**cell是否是长图*/
@property (nonatomic,assign)BOOL isBigPicture;
/**图片的frame*/
@property (nonatomic,assign,readonly)CGRect frame;
/**图片下载进度*/
@property (nonatomic,assign)CGFloat imageProgress;
/**计算后真实大图的size*/
@property (nonatomic,assign)CGSize bigPictureSize;
@end
